package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "product_image")
public class ProductImage {
    @Id
    @Column(name = "product_image_id")
    private Integer productImageId;

    @Column(name = "product_id")
    private Integer productId;

    private String image;

    @Column(name = "sort_order")
    private Integer sortOrder;

    @Column(name = "date_added")
    private Date dateAdded;
}